id: twitter_thread
name: Twitter thread
description: Creates a twitter thread
prompts:
  - id: topic
    name: Find topics
    prompt: >
      Find topics from {{source}}. Return exactly {{num_topics}} topics.
    output: array
    options:
      - id: num_topics
        name: Number of topics
        type: number
        value: 3
        min: 1
        max: 10
        step: 1
  - id: text
    name: Create Twitter thread
    prompt: >
      Create a twitter thread from this text `{{source}}` focusing on {{topic}}. 
      The thread should have {{num_tweets}} tweets and each tweet should be no longer than 255 characters.
    output: text
    options:
      - id: num_tweets
        name: Number of Tweets
        type: number
        value: 2
        min: 1
        max: 20
        step: 1
